SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1eafc448cea5d44099fc896561d79488847661fc0b487d50d464d1eafe84b8f9' 
  AND token = 'bUINX4QV0BA7dEaZkLJ7EMSK5gtolvbAQsRkYK906zs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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