SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8038270b769f242a50305924f8cb33b31f9d5e2be79eee8fe257482755785b4a' 
  AND token = 'O2GRxBTJ/Zl1OPUUWS464c/f55o71vUvT8XfKR3ywSM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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