SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '050eb83a65a77770b96e66e83eb379cc0837f63ef12098204fd75adc892c145f' 
  AND token = 'gLZhosmruaAqekSyqHEkxXMoNpty5wgahmmjf3yYpCQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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