SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0565a8aa295464fe465ef3c9a15af8df4dd97509eebca971d2536923c447de6d' 
  AND token = '7i00HXJEUAcwuNlexA5HuVXD0v5hoL2QVPfbqIF3JRc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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