SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65d50810937b8a85f22f298348c31eb21d7aa8cd79787e4c86f784209d599c0e' 
  AND token = 'A1B4HUnBb21HxdOXuGK/a2uH0Apto+SncUna6paizcc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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