SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2fcd785e3ba5468f34246361b5b9d99d325ad15043d34a3ad918043114df3bbc' 
  AND token = 'mnC5H1HxQa21R1Rnsb7CXHJ7i45ME65stET5L/7kgBw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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