SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '589fb209da0ec628036a4c2467a49001833737bd1961acb37a53ec90d3f26a26' 
  AND token = 'nOtgVUL5IJiWCW4R9FUOz1mG/DY4l2A0/puruu/FXxI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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