SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c2a7894ffdff751adaed6a880d3b0bebdf662d02a4b123b2fbfcb81b8ce6798' 
  AND token = 'RdcnQubLSPVrlgNAKc59B7bSWzjwKZX88A+dnh2pRfw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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