SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eaa36756069265df3a2850da3469c5c166e7939970dc0c2e2ffa473913aa51b7' 
  AND token = '0H+MNCu3he5AZuh52X7pnf4QycttMznIwI8eDSratOQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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