SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fdd0ea5b18ec8f3c33462e0801f38c5d31d4df9b588ace33419683c4d45e458f' 
  AND token = '0kIHJIWU0Z3ozs0GbVj5JyUUx+EKh38qT9N+XJqCgsQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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