SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4a675988cf7ffbd61c208ede99d6469b8fdf0cf6238749eef2b5ffd8e9e58db' 
  AND token = 'sCZbu1ZpjjKqUfGYhhYcU1yaK0+vokufdEYIVEdL9m8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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