SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '793af8ee1b7c88533da2024b29f3ab8640f9731685563937196d2b5633db4775' 
  AND token = 'udXuX4puh1/ub8/3d5SnbWqsnSrZnKvSoe71Cq1efu4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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