SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8c0213eebad17958bd1195445f2de0ab30bb24f3a4998a82f788e55bf1f1391' 
  AND token = '47FfgfAFowwatX3B8v6tQXd0HeJWhltAWFbGKa9Nx1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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