SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd057ba6692ac97c9ad8768a1854996d2930161214ded90ec58239476341ec8e' 
  AND token = '9YUYL23K3QrvdN8f18CizxRN4ZWgzZFMlvRT7UMX9vI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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