SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '041649b1b44ac3044ab100adea466aa4fa357d428ebf7399976dc4efafee1821' 
  AND token = 'e8wyCR9tVQ2b7H0Tx41L6EaVaBxrXj6j0/CRdeuxsaE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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