SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '171f6b816c91b8f4bcef11e32d0103b189c827102b5651419c1cfc064336a8df' 
  AND token = 'nyzUNhBFcqGDKTDKLrjM5lM24tCXLkHy0NMvkf8Q4VE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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