SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3e66dc21df4f7ccd904d2f814801062771cd995d39505993b63b76a27be98aa' 
  AND token = 'sFSBemf8DntJjtT2a9C/SBeyiXJWUIRmJPK2RTNLw+U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}