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

Query time 0.00035

JSON explain

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