SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4ccca1e93d2023cc51940a1c3541dc7e3754c5982b33933b4a56291be2b0ead' 
  AND token = 'LgSeS+3WJVEd38AD8U6ovCsN2wp2M5Th6e2jjmajz+U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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