SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5d3380bf20e4e7cff52a4451a904231a97983684695e129eeaee73885cab735' 
  AND token = '7q2AKv+Hv2ti34xruDUjWz8R4XikOO0qPxm2/unMX9A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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