SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3047415e732ccbe3f9171a9d72731320d6abfa67368dc4796553b036bdad21e6' 
  AND token = 'y3aGs36GGNulnMKpcT9dFXre4AYNEA0tgtHNYO679Jo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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