SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e3b4d901e459a55e19340ee2b50f3e15c07f52499ebb0294b1b768d2ef92c338' 
  AND token = '2cXAa5+qx7WohSKmcpParEKHoWlAMCkYfc6tnGp7TCg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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