SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1346237545a434a2fe763acb12a628b1329bfd361152b41f704324132e5c88b3' 
  AND token = 'NESd8+5hDVEAWZkmOAcQVlLebH/907G2ItR71MKibuE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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