SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca1875480f3399d87fb0256fdc26ade06d5c8db7698c4652671c9610df25d82b' 
  AND token = '9MFCeqS8q6p0h0btuS4HdFWPeH3xCsTiKpy5ZhMHP7Y=' 
  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"
    }
  }
}