SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e21ed20faeed720cd0259b5e0983c9bd54ff2d7f78780b2d8a0d89267fb6f727' 
  AND token = 'j8QyTL6pwUrn9mdasxafFQPPIdRr5KKYmPu5Khgsqf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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