SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07bac3541df8eb180c285b64895560d6166c1606c2e5b39497522c5e5aad990a' 
  AND token = 'znh+Ho9P2H7DXOC8YAe1LSTe4uCGugZrz/tgZpplHZE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}