SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e8a358233ac0d4e8079138f42380848c837ec46efc44bba10e8233546996f7a' 
  AND token = '0Ss117zeLmykr9JWYCfVRuKLJoOgLvDqPZNDZAGloWQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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